package com.woniuxy.controller.entity;

import java.util.List;
import java.util.Map;

/**
 * @BelongsProject: java-85-course-code
 * @BelongsPackage: com.woniuxy.controller.entity
 * @Author: LiTongMiao
 * @Date: 2022/1/25 17:10
 * @Description: 用户实体类
 */
public class User {
    String name;
    int age;
    List<Integer> roles;
    Map<String,String> wifer;

    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public User(){

    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public List<Integer> getRoles() {
        return roles;
    }

    public void setRoles(List<Integer> roles) {
        this.roles = roles;
    }

    public Map<String, String> getWifer() {
        return wifer;
    }

    public void setWifer(Map<String, String> wifer) {
        this.wifer = wifer;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", roles=" + roles +
                ", wifer=" + wifer +
                '}';
    }

}
